// Configration.h: interface for the Configration class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CONFIGRATION_H__9EBAC77E_22D2_4986_92F1_6ADDCE17362B__INCLUDED_)
#define AFX_CONFIGRATION_H__9EBAC77E_22D2_4986_92F1_6ADDCE17362B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

namespace PDMS
{
	namespace PDMSFrame
	{
		enum ModelType
		{
			eDESIGN,
			eSPEC
		};
		
		class Configration  
		{
			friend class Project;
		public:
			Configration();
			virtual ~Configration();
			
		public:
			const StdString& Name() const {
				return m_strName;
			}

			const StdString& DBName() const {
				return m_strDBName;
			}
			
			ModelType GetModelType() const {
				return m_eModeType;
			}

		protected:
			void Name( const StdString& strName ) {
				m_strName = strName;
			}
			
			void DBName( const StdString& strDBName ) {
				m_strDBName = strDBName;
			}
			
			void SetModelType( ModelType eType ) {
				m_eModeType = eType;
			}

		private:
			StdString m_strName;
			StdString m_strDBName;
			ModelType m_eModeType;
		};

	}
}
#endif // !defined(AFX_CONFIGRATION_H__9EBAC77E_22D2_4986_92F1_6ADDCE17362B__INCLUDED_)
